﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="StaffPreview.aspx.cs" Inherits="LabMS.Web.LabPersonnel.StaffPreview" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>查看人员信息</title>
    <link type="text/css" rel="stylesheet" href="../style/screen.css" />
    <!--[if lte IE 6]>
    <link type="text/css" rel="stylesheet" href="../style/ie6.css" />
    <![endif]-->
    <!--[if lte IE 7]>
    <link type="text/css" rel="stylesheet" href="../style/ie7.css" />
    <![endif]-->
    <script type="text/javascript" src="../../js/Common.js"></script>
    <script type="text/javascript">
    function foo()
    {
        url = "EditStaff.aspx?ID=<%=ID %>"; 
        if(document.getElementById("FlagHF").value=="look")
        {
            url+="&flag=look";
        }
       
        RedirectURL(window,url);
    }
    function back()
    {
        if(this.opener==null)
        {
            window.location.href='ListStaff.aspx'
        }
        else
        {
            this.window.close();
        }
    }  
    </script>
</head>
<body class="mainBody">
    <form id="form1" runat="server" enctype="multipart/form-data">
        <div class="main">
            <div id="pageInfo" class="clearfix">
                <div class="title">
                    <label id="label1" runat="server">
                        <a href="ListStaff.aspx">人员基本信息列表</a>&gt;</label>查看人员基本信息
                </div>
            </div>
        </div>
        <div class="main">
            <p>
                <input type="button" class="button" id="EditBtn" runat="server" value="修改" onclick="foo()" />
                <asp:Button ID="DeleteBtn" CssClass="button" Text="删除" runat="server" OnClick="Delete_OnClick" />
                <input id="ReturnBtn" type="button" class="button" runat="server" onclick="back()"
                    value="返回" />
            </p>
            <table cellpadding="2" cellspacing="0" border="0">
                <tr>
                    <td>
                        <label class="itemTitle">
                            人员编号:</label><span style="color: Red">*</span>
                    </td>
                    <td>
                        <asp:label ID="StaffID" runat="server"></asp:label>
                    </td>
                    <td rowspan="6" colspan="2" align="left">
                        <asp:Image AlternateText="" ID="StaffPhoto" runat="server" Width="100" Height="120" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            姓名</label><span style="color: Red">*</span>
                    </td>
                    <td>
                        <asp:label ID="StaffName" runat="server"></asp:label>
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            性 别</label><span style="color: Red">*</span>
                    </td>
                    <td>
                        <asp:DropDownList ID="StaffSexDDL" DataTextField="Name" DataValueField="Code" runat="server" />
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            出生年月</label><span style="color: Red">*</span>
                    </td>
                    <td>
                        <asp:label ID="StaffBirth" runat="server"></asp:label>
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            实验室</label><span style="color: Red">*</span>
                    </td>
                    <td>
                        <asp:DropDownList ID="StaffLabDDL" DataTextField="Lab_Name" DataValueField="ID" runat="server">
                        </asp:DropDownList>
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            文化程度</label><span style="color: Red">*</span>
                    </td>
                    <td>
                        <asp:DropDownList ID="StaffEducationDDL" DataTextField="Name" DataValueField="Code"
                            runat="server">
                        </asp:DropDownList>
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            毕业时间</label>
                    </td>
                    <td>
                        <asp:label ID="StaffGraduteTime" runat="server"></asp:label>
                    </td>
                    <td>
                        <label class="itemTitle">
                            毕业院校</label>
                    </td>
                    <td>
                        <asp:label ID="StaffGradInstitution" runat="server"></asp:label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            参加工作时间</label>
                    </td>
                    <td>
                        <asp:label ID="StaffTakeInJob" runat="server"></asp:label>
                    </td>
                    <td>
                        <label class="itemTitle">
                            所属学科</label><span style="color: Red">*</span>
                    </td>
                    <td>
                        <asp:label ID="StaffSubject" runat="server"></asp:label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            专业方向</label>
                    </td>
                    <td>
                        <asp:label ID="StaffProfessional" runat="server"></asp:label>
                    </td>
                    <td>
                        <label class="itemTitle">
                            实验室工龄</label>
                    </td>
                    <td>
                        <asp:label ID="StaffLabSeniority" runat="server"></asp:label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            职 称</label><span style="color: Red">*</span>
                    </td>
                    <td>
                        <asp:label ID="StaffTitle" runat="server"></asp:label>
                    </td>
                    <td>
                        <label class="itemTitle">
                            主讲课程</label>
                    </td>
                    <td>
                        <asp:label ID="StaffDisciplines" runat="server"></asp:label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            评职时间</label>
                    </td>
                    <td>
                        <asp:label ID="StaffPositionTime" runat="server"></asp:label>
                    </td>
                    <td>
                        <label class="itemTitle">
                            任聘情况</label>
                    </td>
                    <td>
                        <asp:DropDownList ID="StaffEmployDDL" DataTextField="Name" DataValueField="Code"
                            runat="server">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            实验室工作时间</label>
                    </td>
                    <td>
                        <asp:label ID="StaffLabTime" runat="server"></asp:label>
                    </td>
                    <td>
                        <label class="itemTitle">
                            论文数量</label>
                    </td>
                    <td>
                        <asp:label ID="StaffPaperNum" runat="server"></asp:label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            论文级别</label>
                    </td>
                    <td>
                        <asp:DropDownList ID="StaffPaperLevelDDL" DataTextField="Name" DataValueField="Code"
                            runat="server">
                        </asp:DropDownList>
                    </td>
                    <td>
                        <label class="itemTitle">
                            著作数量</label>
                    </td>
                    <td>
                        <asp:label ID="StaffPublicationsNum" runat="server"></asp:label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            著作级别</label>
                    </td>
                    <td>
                        <asp:DropDownList ID="StaffPublicationsLevelDDL" DataTextField="Name" DataValueField="Code"
                            runat="server">
                        </asp:DropDownList>
                    </td>
                    <td>
                        <label class="itemTitle">
                            主要工作</label>
                    </td>
                    <td>
                        <asp:DropDownList ID="StaffWorkDDL" DataTextField="Name" DataValueField="Code" runat="server">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            工 作 量</label>
                    </td>
                    <td>
                        <asp:label ID="StaffWorkload" runat="server"></asp:label>
                    </td>
                    <td>
                        <label class="itemTitle">
                            一外语种</label>
                    </td>
                    <td>
                        <asp:label ID="StaffForeignLanguage" runat="server"></asp:label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            一外水平</label>
                    </td>
                    <td>
                        <asp:label ID="StaffForeignLevel" runat="server"></asp:label>
                    </td>
                    <td>
                        <label class="itemTitle">
                            在研课题</label>
                    </td>
                    <td>
                        <asp:label ID="StaffResearchSub" runat="server"></asp:label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            课题级别</label>
                    </td>
                    <td>
                        <asp:label ID="StaffSubjectLevel" runat="server"></asp:label>
                    </td>
                    <td>
                        <label class="itemTitle">
                            成果奖励</label>
                    </td>
                    <td>
                        <asp:label ID="StaffAward" runat="server"></asp:label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            人员类别</label><span style="color: Red">*</span>
                    </td>
                    <td>
                        <asp:DropDownList ID="StaffPartTimeDDL" DataTextField="Name" DataValueField="Code"
                            runat="server">
                        </asp:DropDownList>
                    </td>
                    <td>
                        <label class="itemTitle">
                            人员类别等级</label>
                    </td>
                    <td>
                        <asp:DropDownList ID="StaffLevelDDL" DataTextField="Name" DataValueField="Code" runat="server">
                        </asp:DropDownList>
                    </td>
                </tr>
                <%--<tr>
                    <td>
                        专家类别<span style="color:Red">*</span>
                    </td>
                    <td>
                        <asp:CheckBoxList ID="StaffExpertLevel" DataTextField="Name" DataValueField="Code" RepeatColumns="3" RepeatDirection="Horizontal" runat="server">
                        </asp:CheckBoxList>                        
                    </td>
                </tr>--%>
                <tr>
                    <td valign="top">
                        <label class="itemTitle">
                            备 注</label>
                    </td>
                    <td colspan="3">
                        <asp:label ID="StaffSummary" runat="server" />
                    </td>
                </tr>
            </table>
        </div>
        <asp:HiddenField ID="FlagHF" runat="server" Value="0" />
    </form>
</body>
</html>
